package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 订单主对象 orders
 * 
 * @author ruoyi
 * @date 2025-07-02
 */
public class Orders extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单号 */
    private Long orderNo;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long uid;

    /** 订单状态 */
    @Excel(name = "订单状态")
    private Long orderStatus;

    /** 订单总金额（分） */
    @Excel(name = "订单总金额", readConverterExp = "分=")
    private Long totalAmount;

    /** 商品总金额（分） */
    @Excel(name = "商品总金额", readConverterExp = "分=")
    private Long goodsAmount;

    /** 实付金额（分） */
    @Excel(name = "实付金额", readConverterExp = "分=")
    private Long paymentAmount;

    /** 用户地址 */
    @Excel(name = "用户地址")
    private String userAddress;

    /** 物流单号 */
    @Excel(name = "物流单号")
    private String logisticsNo;

    /** 物流公司 */
    @Excel(name = "物流公司")
    private String logisticsCompanyName;

    /** 收件人 */
    @Excel(name = "收件人")
    private String receiverName;

    /** 收件人电话 */
    @Excel(name = "收件人电话")
    private String receiverPhone;

    public void setOrderNo(Long orderNo) 
    {
        this.orderNo = orderNo;
    }

    public Long getOrderNo() 
    {
        return orderNo;
    }

    public void setUid(Long uid) 
    {
        this.uid = uid;
    }

    public Long getUid() 
    {
        return uid;
    }

    public void setOrderStatus(Long orderStatus) 
    {
        this.orderStatus = orderStatus;
    }

    public Long getOrderStatus() 
    {
        return orderStatus;
    }

    public void setTotalAmount(Long totalAmount) 
    {
        this.totalAmount = totalAmount;
    }

    public Long getTotalAmount() 
    {
        return totalAmount;
    }

    public void setGoodsAmount(Long goodsAmount) 
    {
        this.goodsAmount = goodsAmount;
    }

    public Long getGoodsAmount() 
    {
        return goodsAmount;
    }

    public void setPaymentAmount(Long paymentAmount) 
    {
        this.paymentAmount = paymentAmount;
    }

    public Long getPaymentAmount() 
    {
        return paymentAmount;
    }

    public void setUserAddress(String userAddress) 
    {
        this.userAddress = userAddress;
    }

    public String getUserAddress() 
    {
        return userAddress;
    }

    public void setLogisticsNo(String logisticsNo) 
    {
        this.logisticsNo = logisticsNo;
    }

    public String getLogisticsNo() 
    {
        return logisticsNo;
    }

    public void setLogisticsCompanyName(String logisticsCompanyName) 
    {
        this.logisticsCompanyName = logisticsCompanyName;
    }

    public String getLogisticsCompanyName() 
    {
        return logisticsCompanyName;
    }

    public void setReceiverName(String receiverName) 
    {
        this.receiverName = receiverName;
    }

    public String getReceiverName() 
    {
        return receiverName;
    }

    public void setReceiverPhone(String receiverPhone) 
    {
        this.receiverPhone = receiverPhone;
    }

    public String getReceiverPhone() 
    {
        return receiverPhone;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orderNo", getOrderNo())
            .append("uid", getUid())
            .append("orderStatus", getOrderStatus())
            .append("totalAmount", getTotalAmount())
            .append("goodsAmount", getGoodsAmount())
            .append("paymentAmount", getPaymentAmount())
            .append("createTime", getCreateTime())
            .append("remark", getRemark())
            .append("userAddress", getUserAddress())
            .append("logisticsNo", getLogisticsNo())
            .append("logisticsCompanyName", getLogisticsCompanyName())
            .append("receiverName", getReceiverName())
            .append("receiverPhone", getReceiverPhone())
            .toString();
    }
}
